#ifndef RAY_H
#define RAY_H

#include "vec3.h"

class ray {
public:
	ray();
	ray(point3 origin, vec3 direction);

	point3 origin() const;
	vec3 direction() const;

	point3 at(double t) const;

public:
	point3 orig;
	vec3 dir;

};

#endif // !RAY_H

